package com.niiwoo.civet.trade.service.local.newRefund.notify.dto;

import java.io.Serializable;

import com.niiwoo.civet.base.enums.OrderTradeSourceEnum;
import com.niiwoo.civet.trade.dto.request.RefundWithholdRequestDTO;
import com.niiwoo.civet.trade.service.local.newRefund.notify.enums.RefundNotifyRefundStatusEnum;

import lombok.Data;

@Data
public class RefundNotifyMsgDTO implements Serializable {
	
	private static final long serialVersionUID = -5604006535071843665L;

	/** 还款状态 详见 {@link RefundNotifyRefundStatusEnum} */
	private Byte refundStatus;
	
	/** 标的ID */
	private Long projectId;
	
	/** 还款订单ID */
	private Long refundOrderId;
	
	/** 第三方机构还款请求流水号 */
	private String orgRequestNo;
	
	/** 代扣交易来源 详见 {@link RefundWithholdRequestDTO.WithHoldTradeSourceEnum}*/
	private Byte withholdTradeSource;
	
	/** 还款交易来源 详见 {@link OrderTradeSourceEnum} */
	private Byte refundTradeSource;
	
	/** 发起还款当前期 */
	private Integer currentPeriod;
	
	/** 变更前标的子状态 */
	private Integer fromSubStatus;
	
	/** 还款失败赋值 */
	private String failMessage;
}